#include<stdio.h>

int main(int argc,char** argv)
{
    FILE* fp1;
    FILE* fp2;
    fp1=fopen(argv[1],"r");
    fp2=fopen(argv[2],"w");
    if(fp1==NULL||fp2==NULL)
        printf("FILE OPEN ERROR!");
    char ch=fgetc(fp1);
    while(ch!=EOF)
    {
        fputc(ch,fp2);
        ch=fgetc(fp1);
    }
    fclose(fp1);
    fclose(fp2);
}
